package com.ruoyi.openDoor.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商家的包间的预约对象 business_reserve
 * 
 * @author ruoyi
 * @date 2023-02-06
 */
public class BusinessReserve extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 商家的id */
    @Excel(name = "商家的id")
    private Long businessId;

    /** 商家的包间的id */
    @Excel(name = "商家的包间的id")
    private Long businessRoomId;

    /** 时长 */
    @Excel(name = "时长")
    private Long duration;

    /** 微信支付的订单编号 */
    @Excel(name = "微信支付的订单编号")
    private String wxOrder;

    /** 预约状态 */
    @Excel(name = "预约状态")
    private String reserveStatus;

    /** 预约的开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约的开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 预约的结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约的结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 预约的预计费用 */
    @Excel(name = "预约的预计费用")
    private String estimatePrice;

    /** 预约的实际费用 */
    @Excel(name = "预约的实际费用")
    private String actualPrice;

    /** 绑定的商家的包间的id */
    @Excel(name = "绑定的商家的包间的id")
    private Long packageId;

    /** 优惠券id */
    @Excel(name = "优惠券id")
    private Long couponId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBusinessId(Long businessId) 
    {
        this.businessId = businessId;
    }

    public Long getBusinessId() 
    {
        return businessId;
    }
    public void setBusinessRoomId(Long businessRoomId) 
    {
        this.businessRoomId = businessRoomId;
    }

    public Long getBusinessRoomId() 
    {
        return businessRoomId;
    }
    public void setDuration(Long duration) 
    {
        this.duration = duration;
    }

    public Long getDuration() 
    {
        return duration;
    }
    public void setWxOrder(String wxOrder) 
    {
        this.wxOrder = wxOrder;
    }

    public String getWxOrder() 
    {
        return wxOrder;
    }
    public void setReserveStatus(String reserveStatus) 
    {
        this.reserveStatus = reserveStatus;
    }

    public String getReserveStatus() 
    {
        return reserveStatus;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setEstimatePrice(String estimatePrice) 
    {
        this.estimatePrice = estimatePrice;
    }

    public String getEstimatePrice() 
    {
        return estimatePrice;
    }
    public void setActualPrice(String actualPrice) 
    {
        this.actualPrice = actualPrice;
    }

    public String getActualPrice() 
    {
        return actualPrice;
    }
    public void setPackageId(Long packageId) 
    {
        this.packageId = packageId;
    }

    public Long getPackageId() 
    {
        return packageId;
    }
    public void setCouponId(Long couponId) 
    {
        this.couponId = couponId;
    }

    public Long getCouponId() 
    {
        return couponId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("businessId", getBusinessId())
            .append("businessRoomId", getBusinessRoomId())
            .append("duration", getDuration())
            .append("wxOrder", getWxOrder())
            .append("reserveStatus", getReserveStatus())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("estimatePrice", getEstimatePrice())
            .append("actualPrice", getActualPrice())
            .append("packageId", getPackageId())
            .append("couponId", getCouponId())
            .toString();
    }
}
